package com.dd.ms.provider.pojo.value.object;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * @Author liuxianmeng
 * @CreateTime 2025/1/16 23:58
 * @Description 数据库 json字符串字段 对应的JavaPojo类 仍然赋予全面的数据类型
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class JsonValue implements Serializable {
    @ApiModelProperty("数据库id")
    private Long id;
    @ApiModelProperty("整型包装类")
    private Integer intValue;
    @ApiModelProperty("长整型包装类")
    private Long longValue;
    @ApiModelProperty("双精度浮点型包装类")
    private Double doubleValue;
    @ApiModelProperty("字符串类型")
    private String stringValue;
}
